package com.lemon.stock.entity

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "bonus")
data class Bonus(
    @ColumnInfo(name = "stock_id") val stockId: String,
    @ColumnInfo(name = "bonus_date") val bonusDate: Long,
    @ColumnInfo(name = "bonus_money") val bonusMoney: Float=0F,
    @ColumnInfo(name = "bonus_amount") var bonusAmount: Int=0,
    @ColumnInfo(name = "stock_hold") var stockHold: Int=0,
    @ColumnInfo(name = "tax_money") var taxMoney: Float = 0F,
    @ColumnInfo(name = "status") var status: Int=8
) {
    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "id")
    var id: Long = 0

}
